type IApiConfig = {
  [key: string]: {
    url: string;
    method: string;
  };
};
const apiConfig: IApiConfig = {
  login: {
    url: '/user/login',
    method: 'get',
  },
  homeList: {
    url: '/home/homeList',
    method: 'get',
  },
  articleDetail: {
    url: '/article/articleDetail',
    method: 'get',
  },
};

export default apiConfig;
